import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class LecturaPorConsola
{
    public static void main(String[] args)
    {
        String sTexto = new String();

        System.out.println("INGRESAR NOMBRE: ");

        BufferedReader sb = new BufferedReader (new InputStreamReader (System.in));
        try
        {
            while (!sTexto.equals("FIN"))
            {
                sTexto = sb.readLine();
                System.out.println(sTexto);
            }
        }
        catch(IOException io)
        {

        }
        
    }
}
